package com.ruoyi.odorservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.odorservice.entity.Sample;
import com.ruoyi.odorservice.entity.model.SiteMaterial;
import com.ruoyi.odorservice.entity.vo.SampleDetailVo;
import com.ruoyi.odorservice.entity.vo.SampleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SampleService extends IService<Sample> {
    /**
     * 根据样本名称获取样本详情
     * @param sampleName
     * @return
     */
    List<SampleVo> getSampleList(String sampleName);

    /**
     * 根据样本名称物质详情
     * @param sampleName
     * @return
     */
    List<SampleDetailVo> getSampleWithMaterialList(String sampleName);
    /**
     * 根据站点名称获取站点物质详情
     * @param siteNames
     * @return
     */
    List<SiteMaterial> getSiteMaterials(List<String> siteNames);

    /**
     * 通过点位查询某企业物质
     * @param ids
     * @return
     */
    List<SiteMaterial> getMaterialsBySites(List<Integer> ids);

}
